document.getElementById('view').addEventListener('click', drawEcoDistribution);

function drawEcoDistribution() {
  // 你的生态分布绘制代码
  // 例如，加载生态分布图层
    alert("待开发···")
    console.log('drawEcoDistribution');
    var ecoLayer = new AMap.TileLayer({
    getTileUrl: 'http://map.fzskj.club/images/vv3.png',
    // https://longbhu-picgo.oss-cn-beijing.aliyuncs.com/imgMd/202405172325992.png
    zIndex: 100
  });
  mapEcoDistribution.add(ecoLayer);
}
